import java.util.concurrent.*;


public class Fast {
    public static void main(String[] args){
	long bits = 0L;
	if(args.length > 0) {
	    bits = Long.parseLong(args[0]);
	}
	long start = System.nanoTime();
	int  n = 2000000001;
	boolean shift = bits > 0;

	while (n > 0) {
	    if(shift) {
		bits ^= 1 << 5;
	    }
	    n--;
	}
	System.out.println("bits: "+ bits);
	long end = System.nanoTime();
	System.out.println(TimeUnit.NANOSECONDS.toMillis(end-start) + "ms");

    }
}